/**
 * 生成 ‘全部’ 目录配置数据
 *
 * @param {number} childrenCount ‘全部’ 目录下子级个数
 * @returns {BaseModelTreeNodeType} ‘全部’ 目录配置数据
 */
export const genDirAll = (childrenCount: number): BaseModelTreeNodeType => {
  return {
    count: `(${childrenCount})`,
    name: `全部`,
    label: `全部`,
    value: DirIdConst.All,
    priority: Number.MAX_SAFE_INTEGER,
    icon: genFloderIcon()
  }
}
